signIn.addEventListener('click',function(){
	/*
	
	if(mailTextField.value=="elfares102@yahoo.com" && passwordTextField.value=="123") {
		if(basicSwitch.value) {
			Titanium.App.Properties.setBool("alive",true);
		} else {
			Titanium.App.Properties.setBool("alive",false);
		}
		Titanium.include('/makan/ui/mainWindow.js');
	} else {
		alert("PLZ! check your data");
	}
	*/
	Titanium.include('/makan/ui/mainWindow.js');
	
});

signUp.addEventListener('click',function(){
	Titanium.Platform.openURL("http://www.e-makan.com/login");
	
});
